package com.qzsoft.zhjd.monitoring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import com.qzsoft.zhjd.monitoring.modules.zlm.manager.ZLMServerManager;


/**
 * @ClassName ZLMServerRunner
 * @Description 系统启动后调用ZLM相关服务
 * @author linhuawei
 * @since 2022-03-22
 */
@Component
@Order(value = 1)
public class ZLMServerRunner implements CommandLineRunner {

    @Autowired
    private ZLMServerManager zlmServerManager;

    @Override
    public void run(String... args) throws Exception {
        // 读取zlm服务器配置信息
        //zlmServerManager.getServerConfig();

        // 添加启用状态的设备
        // zlmServerManager.addEnableStreamProxy();
    }
    
}
